﻿using QDChat.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QDChat.Interface
{
    public interface IChatSession
    {
        int Insert(Session model);
        int AppendMsg(Session model);
        int ResetMsgCount(int id, int countType);
        Session GetLast(int fromUid, int toUid);
        List<SessionView> GetList(int toUid, int page, int pageSize);
    }
}
